package com.team5101.mapper;

import com.team5101.base.IBaseDao;
import com.team5101.dto.PostbarDTO;
import com.team5101.entity.TPostBar;

import java.util.List;

public interface TPostBarMapper extends IBaseDao<TPostBar> {
    int deleteByPrimaryKey(Long pbId);

    int insert(TPostBar record);

    int insertSelective(TPostBar record);

    TPostBar selectByPrimaryKey(Long pbId);

    int updateByPrimaryKeySelective(TPostBar record);

    //int updateByPrimaryKeyWithBLOBs(TPostBar record);

    int updateByPrimaryKey(TPostBar record);

    List<TPostBar> getListBydata(PostbarDTO postbarDTO);

    int deleteByKey(PostbarDTO postbarDTO);
}